home *** CD-ROM | disk | FTP | other *** search
- on RESETALLMEN
- global GRIDV, GRIDH, GRIDY
- repeat with N = 1 to 140
- if getAt(GRIDV, N) = 2 then
- set the castNum of sprite 10 to 9
- set the locH of sprite 10 to getAt(GRIDH, N)
- set the locV of sprite 10 to getAt(GRIDY, N)
- updateStage()
- end if
- if getAt(GRIDV, N) = 3 then
- set the castNum of sprite 29 to 4
- set the locH of sprite 29 to getAt(GRIDH, N)
- set the locV of sprite 29 to getAt(GRIDY, N)
- updateStage()
- end if
- if getAt(GRIDV, N) = 1 then
- set the locH of sprite 30 to getAt(GRIDH, N)
- set the locV of sprite 30 to getAt(GRIDY, N)
- updateStage()
- end if
- end repeat
- REMOVESPRITE()
- end
-